import request from '@/util/request'

export function listAlgorCon(data) {
    return request({
        url: '/api/algor2/job/list',
        method: 'POST',
        data: data
    })
}

export function getOneAlgorCon(jobId) {
    return request({
        url: '/api/algor/job/getOne/'+jobId,
        method: 'get',
    })
}

export function updateAlgorCon(data) {
    return request({
        url: '/api/algor/job/updateJob',
        method: 'post',
        data:data
    })
}

export function deleteJob(jobId) {
    return request({
        url: '/api/algor2/job/del/'+jobId,
        method: 'get',
    })
}


